﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace scifistories
{
    /// <summary>
    /// Ein Objekt das gezeichnet werden kann
    /// </summary>
    public interface IDrawableGameObject
    {
        /// <summary>
        /// Die Textur des Objektes
        /// </summary>
        Texture2D Texture { get; set; }
        /// <summary>
        /// Das Rectangle in das gerendert werden soll
        /// </summary>
        Rectangle ObjectRectangle { get; set; }
        /// <summary>
        /// Das Rectangle aus dem die Textur genommen wird
        /// </summary>
        Rectangle? SourceRectangle { get; set; }
        /// <summary>
        /// Die Rotation des Objektes
        /// </summary>
        float Rotation { get; set; }
        /// <summary>
        /// Die Effekte die auf das Objekt angewendet werden sollen
        /// </summary>
        SpriteEffects Effects { get; set; }
        /// <summary>
        /// Der Mittelpunkt des Objektes
        /// </summary>
        Vector2 Origin { get; set; }
    }
}
